Skip to content

Fix line intersection tolerance propagation - #1542

Open
draarivpatel-ui wants to merge 1 commit into
compas-dev:mainfrom
draarivpatel-ui:fix-line-intersection-tolerance
Open

draarivpatel-ui wants to merge 1 commit into
compas-dev:mainfrom
draarivpatel-ui:fix-line-intersection-tolerance

Conversation

@draarivpatel-ui

Copy link
Copy Markdown

Summary

The tolerance passed to segment intersection checks is a distance tolerance, but it was also forwarded into the internal line-plane parallelity test. For very short segments this made a valid intersection look parallel and caused intersection_segment_segment to return no result.

Stop forwarding that distance tolerance into intersection_line_plane and add regression coverage for small intersecting segments at large coordinates.

Refs #1320

Tests

PATH="$PWD/.venv/bin:$PATH" PYTHONPATH=src nice -n 19 .venv/bin/python -m pytest -q

1012 passed, 12 skipped

Copilot AI balanced review requested due to automatic review settings November 25, 2026 00:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants